<?php
/**
 * Created by : PhpStorm
 * User: DuFei
 * Date: 2020/7/24
 * Time: 9:38
 */

namespace app\exception;


class ErrorCode
{
    const SYS_ERROR = ["-1" => "系统繁忙"];
    const PARMA_ERROR = ["2" => "参数异常"];
    const U_A_P_ERR = ["10001" => "用户名或密码错误"];
    const TOKEN_ERR = ["1001" => "登录token错误"];
    const Expired_token = ["1001" => "token过期"];
    const USER_NOT_FOUND = ["10001" => "抱歉！该用户不存在或密码不正确!如已注册，请等待审核通知，谢谢！"];
    const CODE_ERR = ["10002" => "验证码错误"];
    const CODE_TRY_ERR = ["10003" => "请稍1分钟后重试"];
    const NOT_404 = ["10004" => "记录不存在或已经被删除"];
    const GOODS_INFO_ERR = ["10005" => "提交商品有误"];
    const OUT_OF_STOCK = ["10006" => "库存不足"];
    const ORDER_ERR = ["10007" => "订单异常"];
    const OUT_OF_POINT = ["10007" => "积分不足"];
    const ORDER_NOT_404 = ["10008" => "订单不存在"];
    const ORDER_NOT_FH = ["10009" => "订单还没有发货"];
    const ADDRESS_NOT_404 = ["10004" => "收货地址不存在"];
    const USER_CHECK_ERR = ["10010" => "登录异常!该手机号连续验证5次。请重新获取验证码"];
    const USER_S_O = ["10011" => "已经提交多次，无需重复提交"];
    const OP_PF = ["10012" => "操作频繁"];
    const EX_AL_READY = ["10013" => "已经兑换过了"];
    const APPLIED = ["10014" => "已申请过 无需重复申请"];
    const act_not_found = ["10015" => "活动不存在"];
    const USERNAME_EXISTS = ["10016" => "已存在账号"];
    const ACT_NO_START = ["10017" => "活动未开始"];
    const ACT_FINISHED = ["10018" => "活动已结束"];
    const ACT_BEGIN_TIME_ERR = ["10019" => "活动开始时间错误"];
    const ACT_END_TIME_ERR = ["10020" => "活动结束时间错误"];
    const ACT_STATUS_ERR = ["10021" => "状态异常"];
    const QUESTION_FINISH = ["10022" => "该问题已经完成"];
    const INFO_SUBMIT = ["10021" => "信息修改已提交"];
    const ADMIN_NO_RESPONSE = ["10022" => "问题未被回复，无法追加"];
    const upload_err = ["10023" => "上传失败"];
    const feedback_already = ["10024" => "反馈文件已上传,请勿重新提交"];
    const cancel_already = ["10025" => "已申请取消,请勿重新提交"];
    const cancel_ok = ["10026" => "已取消,请勿重新提交"];


}